package com.topone.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2017/11/20,0020.
 */
@Data
@Component
@PropertySources({
        @PropertySource("classpath:persistence.properties")
})
public class WechatAccountConfig {

    @Value("${mpAppId}")
    private String mpAppId;
    @Value("${mpAppSecret}")
    private String mpAppSecret;
    @Value("${token}")
    private String token;
    @Value("${aesKey}")
    private String aesKey;
    @Value("${mpMchId}")
    private String mchId;
    @Value("${mpMchKey}")
    private String mchKey;
    @Value("${mpKeyPath}")
    private String keyPath;
    @Value("${mpNotifyUrl}")
    private String notifyUrl;
}
